home *** CD-ROM | disk | FTP | other *** search
- %OP%VS4.13 (28-Apr-92), Gerald L Fitton, R4000 5966 9904 9938
- %OP%DP0
- %OP%IRY
- %OP%PL0
- %OP%HM0
- %OP%FM0
- %OP%BM0
- %OP%LM4
- %OP%PT1
- %OP%PDPipeLine
- %OP%WC2,1254,548,1748,1,32,0,0
- %OP%NDArray,C4H9
- %OP%NDCol_No,B16
- %OP%NDRow_No,B17
- %OP%NDThe_Value,B18
- %OP%NDInput,B16B18
- %CO:A,30,72%
- Entering a variable value into a slot which is also a variable
-
-
-
- The array in the block B4G9
- has the PipeDream name 'Array'
-
-
-
-
- Enter a number between 1 and 6 in slot B16
- Enter a number between 1 and 6 in slot B17
- Enter any number in slot B18
-
- %R%Column No
- %R%Row No
- %R%The Value
-
-
- The values in B16 & B17 have the PipeDream names 'Col_No' & 'Row_No'
- The value in B18 has the PipeDream name 'The_Value'
-
-
- The function set_value(index(arrray,col,row),value)
- allows you to enter a single value into an array.
-
- In this function the col and row are offsets from the top left of
- the array so that set_value(index(Array,Col_No,Row_No),The_Value)
- enters the value from B18 into the element (Col_No, Row_No)
-
- Slot B33 contains
- the 'magic' function
- %CO:B,6,42%
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- %V%%R%1
- %V%%R%2
- %V%%R%3005
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- %V%%R%set_value(index(Array,Col_No,Row_No),The_Value)
- %CO:C,6,36%
-
-
- %V%%R%3004
- %V%%R%3005
- %V%%R%3006
- %V%%R%3007
- %V%%R%3008
- %V%%R%3009
- %CO:D,6,30%
-
-
- %V%%R%4004
- %V%%R%4005
- %V%%R%4006
- %V%%R%4007
- %V%%R%4008
- %V%%R%4009
- %CO:E,6,24%
-
-
- %V%%R%5004
- %V%%R%5005
- %V%%R%5006
- %V%%R%5007
- %V%%R%5008
- %V%%R%5009
- %CO:F,6,18%
-
-
- %V%%R%6004
- %V%%R%6005
- %V%%R%6006
- %V%%R%6007
- %V%%R%6008
- %V%%R%6009
- %CO:G,6,12%
-
-
- %V%%R%7004
- %V%%R%7005
- %V%%R%7006
- %V%%R%7007
- %V%%R%7008
- %V%%R%7009
- %CO:H,6,6%
-
-
- %V%%R%8004
- %V%%R%8005
- %V%%R%8006
- %V%%R%8007
- %V%%R%8008
- %V%%R%8009
-